package com.zr.planClass.service;

import com.zr.planClass.model.PlanClassAddVo;
import com.zr.planClass.model.PlanClassSelectVo;
import com.zr.planClass.model.PlanClassUpdateStatusVo;
import com.zr.planClass.model.PlanClassUpdateVo;
import com.zr.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.Valid;
import java.util.List;

/**
 * Created by Hasee on 2019/12/20.
 */
public interface PlanClassService {
    ResultVo add(@Valid List<PlanClassAddVo> planClassAddVo);

    ResultVo queryById(Integer id);

    ResultVo update(@Valid PlanClassUpdateVo planClassUpdateVo);

    ResultVo updateStatus(@Valid PlanClassUpdateStatusVo planClassUpdateStatusVo);

    ResultVo queryPage(PlanClassSelectVo planClassSelectVo);

    ResultVo importPlanClass(MultipartFile file) throws Exception;
}
